package com.cdxy.biz.process;

import com.cdxy.model.dto.req.RegsEmailCodeReq;
import com.cdxy.model.dto.req.RegsMobileCodeReq;
import com.cdxy.model.dto.req.SendEmailCodeReq;
import com.cdxy.model.dto.req.SendMobileCodeReq;

/**
 * @Author: tangy
 * @Date: 2020/3/17 10:33
 */
public interface IRegsBizProcess {
    /**
     * 注册发送手机验证码
     *
     * @param sendMobileCodeReq
     */
    void regsSendSms(SendMobileCodeReq sendMobileCodeReq);

    /**
     * 手机验证码注册
     *
     * @param regsMobileCodeReq
     */
    void regsByMobileCode(RegsMobileCodeReq regsMobileCodeReq);

    /**
     * 注册发送邮箱验证码
     *
     * @param sendEmailCodeReq
     */
    void regsSendEmail(SendEmailCodeReq sendEmailCodeReq);

    /**
     * 邮箱验证码注册
     *
     * @param regsEmailCodeReq
     */
    void regsByEmailCode(RegsEmailCodeReq regsEmailCodeReq);
}
